﻿using OddUserManager.Data.IRepositories;
using OddUserManager.Model;
using OddUserManager.Service.IServices;
using System;
using System.Collections.Generic;
using System.Text;

namespace OddUserManager.Service.Services
{
    public class PhoneMessagesService : IPhoneMessagesService
    {
        IPhoneMessagesRepository _repository;

        public PhoneMessagesService(IPhoneMessagesRepository repository)
        {
            _repository = repository;

        }

        public bool InsertOrUpdate(PhoneMessages entity)
        {
            return _repository.InsertOrUpdate(entity);
        }
    }
}
